-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mark wrapped intrinsics as inline(always) #113194
Conversation
This should mitigate having the inliner decide not to inline when the architecture is lacking an implementation of TargetTransformInfo::areInlineCompatible aware of the target features (e.g. PowerPC as today).
r? @thomcc (rustbot has picked a reviewer for you, use r? to override) |
Just to check if this doesn't regress debug build performance. @bors try @rust-timer perf |
⌛ Trying commit 528f11c with merge 3feb5a8b121d0db15dd937cc048cedd92761655c... |
☀️ Try build successful - checks-actions |
@rust-timer queue |
This comment has been minimized.
This comment has been minimized.
@rust-timer build 3feb5a8b121d0db15dd937cc048cedd92761655c |
This comment has been minimized.
This comment has been minimized.
Finished benchmarking commit (3feb5a8b121d0db15dd937cc048cedd92761655c): comparison URL. Overall result: no relevant changes - no action neededBenchmarking this pull request likely means that it is perf-sensitive, so we're automatically marking it as not fit for rolling up. While you can manually mark this PR as fit for rollup, we strongly recommend not doing so since this PR may lead to changes in compiler perf. @bors rollup=never Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 660.64s -> 658.974s (-0.25%) |
Looks good, glad to see a (cleaner) fix for that stdarch issue (hopefully) @bors r+ |
☀️ Test successful - checks-actions |
Finished benchmarking commit (6b06fdf): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Bootstrap: 661.53s -> 662.02s (0.07%) |
This should mitigate having the inliner decide not to inline when the architecture is lacking an implementation of
TargetTransformInfo::areInlineCompatible aware of the target features (e.g. PowerPC as today).
See rust-lang/stdarch#1443 (comment)